package com.guoyansoft.model.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * @author ：高凡
 * @date ：Created in 2023-04-27-16:00
 * @description：调度员和所属区域中间表实体和产品组实体
 */
public class YardmanAndAddress implements Serializable {
    //编号
    private Integer id;
    //调度员实体
    private Yardman yardman;
    //所属区域实体
    private List<District> Address;
    //所属产品组实体
    private List<ProductTeam> ProductTeam;

    public YardmanAndAddress(Integer id, Yardman yardman, List<District> address, List<com.guoyansoft.model.pojo.ProductTeam> productTeam) {
        this.id = id;
        this.yardman = yardman;
        Address = address;
        ProductTeam = productTeam;
    }

    public YardmanAndAddress() {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Yardman getYardman() {
        return yardman;
    }

    public void setYardman(Yardman yardman) {
        this.yardman = yardman;
    }

    public List<District> getAddress() {
        return Address;
    }

    public void setAddress(List<District> address) {
        Address = address;
    }

    public List<com.guoyansoft.model.pojo.ProductTeam> getProductTeam() {
        return ProductTeam;
    }

    public void setProductTeam(List<com.guoyansoft.model.pojo.ProductTeam> productTeam) {
        ProductTeam = productTeam;
    }

    @Override
    public String toString() {
        return "YardmanAndAddress{" +
                "id=" + id +
                ", yardman=" + yardman +
                ", Address=" + Address +
                ", ProductTeam=" + ProductTeam +
                '}';
    }
}
